#!  /bin/bash
# set -x
# 该脚本可用来爬取自定义的query的结果diff，也可以使用线上的url进行diff

# 下面的结果都不应该为空

echo "test crawl paragraph"
python3 crawl_ware_info.py -u "http://pc.p-search.jd.local/status?pagesize=30&debug=yes&qp_disable=no&area_ids=1,72,2799&user_pin=dingding1984&use_blender_cache=no&usecache=no&use_detail_server=yes&enc_url_gbk=no&use_pagecache=no&merge_sku=yes&key=iphone" -p brand_id -d

echo "test crawl paragraph with key"
python3 crawl_ware_info.py -u "http://pc.p-search.jd.local/status?pagesize=30&debug=yes&qp_disable=no&area_ids=1,72,2799&user_pin=dingding1984&use_blender_cache=no&usecache=no&use_detail_server=yes&enc_url_gbk=no&use_pagecache=no&merge_sku=yes&" -p brand_id -d -k 手机

echo "test crawl head"
python3 crawl_ware_info.py -u "http://pc.p-search.jd.local/status?pagesize=30&debug=yes&qp_disable=no&area_ids=1,72,2799&user_pin=dingding1984&use_blender_cache=no&usecache=no&use_detail_server=yes&enc_url_gbk=no&use_pagecache=no&merge_sku=yes&key=iphone" -a "Query.HcCid1s" -d

echo "test crawl head with key"
python3 crawl_ware_info.py -u "http://pc.p-search.jd.local/status?pagesize=30&debug=yes&qp_disable=no&area_ids=1,72,2799&user_pin=dingding1984&use_blender_cache=no&usecache=no&use_detail_server=yes&enc_url_gbk=no&use_pagecache=no&merge_sku=yes" -a "Query.HcCid1s" -d -k 手机
